<?php

class Authentification extends Zend_Db_Table
{
    protected $_name = 'Membre';

	protected $_login = '';
	protected $_password = '';
    
    public function login($login, $password) {
        $row = $this->fetchRow('login = "'.$login.'" AND password = "'.$password.'"');

        if (count($row) > 0) {
            return true;
        } else {
            return false;
        }
	}
}

?>